package com.casstime.ec.cloud.discount.dao.giftPromotion;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.casstime.ec.cloud.dao.jpa.mybatis.Mapper;
import com.casstime.ec.cloud.values.giftPromotion.GiftPromotionArea;
/**
 * ClassName: AfterSalesPolicyMapper 
 * Function: (买赠活动地区DAO)
 * Reason: ADD REASON(可选).
 *  
 * @author wu.chen 
 * 2018年1月30日 上午11:17:38
 * @version   
 * @since JDK 1.8
 */
@SuppressWarnings("rawtypes")
public interface GiftPromotionAreaMapper extends Mapper {
	
	int insertPromotionAreas(@Param("promotionAreas") List<GiftPromotionArea> promotionAreas);
	
	List<GiftPromotionArea> listPromotionAreas(@Param("giftPromotionIds") List<String> giftPromotionIds);
	
	int deletePromotionAreasByPromotionId(@Param("giftPromotionId") String giftPromotionId);
	
}
